package com.ruoyi.asset.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 资产折旧数据对象 asset_depreciation
 * 
 * @author ruoyi
 * @date 2025-03-12
 */
public class AssetDepreciation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 资产ID（外键） */
    @Excel(name = "资产ID", readConverterExp = "外=键")
    private Long assetId;

    /** 折旧方式（字典表关联） */
    @Excel(name = "折旧方式", readConverterExp = "字=典表关联")
    private String depreciationMethod;

    /** 减值准备科目 */
    @Excel(name = "减值准备科目")
    private String impairmentAccount;

    /** 固定资产科目 */
    @Excel(name = "固定资产科目")
    private String fixedAssetAccount;

    /** 累计折旧科目 */
    @Excel(name = "累计折旧科目")
    private String accumDepreciationAccount;

    /** 折旧费用科目 */
    @Excel(name = "折旧费用科目")
    private String depreciationExpenseAccount;

    /** 税金科目 */
    @Excel(name = "税金科目")
    private String taxAccount;

    /** 资产清理科目 */
    @Excel(name = "资产清理科目")
    private String assetDisposalAccount;

    /** 资产购入对方科目 */
    @Excel(name = "资产购入对方科目")
    private String purchaseAccount;





    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAssetId(Long assetId) 
    {
        this.assetId = assetId;
    }

    public Long getAssetId() 
    {
        return assetId;
    }

    public void setDepreciationMethod(String depreciationMethod) 
    {
        this.depreciationMethod = depreciationMethod;
    }

    public String getDepreciationMethod() 
    {
        return depreciationMethod;
    }

    public void setImpairmentAccount(String impairmentAccount) 
    {
        this.impairmentAccount = impairmentAccount;
    }

    public String getImpairmentAccount() 
    {
        return impairmentAccount;
    }

    public void setFixedAssetAccount(String fixedAssetAccount) 
    {
        this.fixedAssetAccount = fixedAssetAccount;
    }

    public String getFixedAssetAccount() 
    {
        return fixedAssetAccount;
    }

    public void setAccumDepreciationAccount(String accumDepreciationAccount) 
    {
        this.accumDepreciationAccount = accumDepreciationAccount;
    }

    public String getAccumDepreciationAccount() 
    {
        return accumDepreciationAccount;
    }

    public void setDepreciationExpenseAccount(String depreciationExpenseAccount) 
    {
        this.depreciationExpenseAccount = depreciationExpenseAccount;
    }

    public String getDepreciationExpenseAccount() 
    {
        return depreciationExpenseAccount;
    }

    public void setTaxAccount(String taxAccount) 
    {
        this.taxAccount = taxAccount;
    }

    public String getTaxAccount() 
    {
        return taxAccount;
    }

    public void setAssetDisposalAccount(String assetDisposalAccount) 
    {
        this.assetDisposalAccount = assetDisposalAccount;
    }

    public String getAssetDisposalAccount() 
    {
        return assetDisposalAccount;
    }

    public void setPurchaseAccount(String purchaseAccount) 
    {
        this.purchaseAccount = purchaseAccount;
    }

    public String getPurchaseAccount() 
    {
        return purchaseAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assetId", getAssetId())
            .append("depreciationMethod", getDepreciationMethod())
            .append("impairmentAccount", getImpairmentAccount())
            .append("fixedAssetAccount", getFixedAssetAccount())
            .append("accumDepreciationAccount", getAccumDepreciationAccount())
            .append("depreciationExpenseAccount", getDepreciationExpenseAccount())
            .append("taxAccount", getTaxAccount())
            .append("assetDisposalAccount", getAssetDisposalAccount())
            .append("purchaseAccount", getPurchaseAccount())
            .toString();
    }


}
